using System;
using System.Collections.Generic;
using System.Text;
using System.Web;

namespace Zoo
{
    public static class PictureStorageFactory
    {
        public static IPictureStorage CreatePictureStorage()
        {
            if (HttpContext.Current == null)
                return new SimpleFileStorage("");

            return new SimpleFileStorage( HttpContext.Current .Request.PhysicalApplicationPath  + @"\Pictures\");
        }
    }
}
